﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateVehicle.aspx.cs" Inherits="CRM_Project.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Update Vehicle</title>
    <style type="text/css">
        .style2
        {
            width: 169px;
        }
        .style5
        {
            width: 55px;
        }
        .style7
        {
            width: 109px;
        }
        .style8
        {
            height: 17px;
        }
        .style9
        {
            height: 20px;
        }
        .style10
        {
            width: 141px;
        }
        .style11
        {
            width: 147px;
        }
        .style13
        {
            height: 43px;
        }
        .style15
        {
            width: 149px;
            height: 57px;
        }
        .style16
        {
            height: 57px;
        }
        .style17
        {
            width: 149px;
            height: 22px;
        }
        .style18
        {
            height: 22px;
        }
        .style21
        {
            width: 149px;
            height: 20px;
        }
        .style22
        {
            width: 149px;
            height: 43px;
        }
        .style23
        {
            width: 149px;
            height: 30px;
        }
        .style24
        {
            height: 30px;
        }
        .style25
        {
            width: 149px;
            height: 36px;
        }
        .style26
        {
            height: 36px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <h2>Update Vehicle Information</h2>
        <p>
                <a href="AgentReservationSearch.aspx">Reservations</a> </p></div>
    <table style="width: 90%; height: 399px;">
        <tr>
            <td class="style8">
                <asp:Label ID="error_label" runat="server" ForeColor="Red" 
                    Text="Error Placeholder Label" Visible="False" Width="600px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style9">
                <table style="width: 100%;">
                    <tr>
                        <td class="style11" align="right">
                            <asp:Label ID="dateadded_label" runat="server" Text="Date Added :"></asp:Label>
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="dateadded_textbox" runat="server" Enabled="False" 
                                Width="125px"></asp:TextBox>
                        </td>
                        <td class="style5" align="right">
                            <asp:Label ID="status_label" runat="server" Text="Status :"></asp:Label>
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="status_textbox" runat="server" Enabled="False" Width="129px"></asp:TextBox>
                        </td>
                        <td class="style7" align="right">
                            <asp:Label ID="lot_label" runat="server" Text="Lot :"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="lot_textbox" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style11" align="right">
                            <asp:Label ID="carID_label" runat="server" Text="Internal ID :"></asp:Label>
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="carID_textbox" runat="server" Width="125px" Enabled="False"></asp:TextBox>
                        </td>
                        <td class="style5" align="right">
                            <asp:Label ID="make_label" runat="server" Text="Make :"></asp:Label>
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="make_textbox" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                        <td class="style7" align="right">
                            <asp:Label ID="model_label" runat="server" Text="Model :"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="model_textbox" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style11" align="right">
                            <asp:Label ID="mileage_label" runat="server" Text="Mileage :"></asp:Label>
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="mileage_textbox" runat="server" Width="125px"></asp:TextBox>
                        </td>
                        <td class="style5" align="right">
                            <asp:Label ID="color_label" runat="server" Text="Color :"></asp:Label>
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="color_textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="style7" align="right">
                            <asp:Label ID="regstate_label" runat="server" Text="State Registered :"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="regstate_textbox" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style11" align="right">
                            <asp:Button ID="update_button" runat="server" Text="Update" 
                                onclick="update_button_Click" />
                        </td>
                        <td class="style10">
                            &nbsp;</td>
                        <td class="style5" align="right">
                            &nbsp;</td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style7" align="right">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    </table>
            </td>
        </tr>
        <tr>
            <td class="style13">
                <table style="width:100%;">
                    <tr>
                        <td class="style21">
                            <b>Request Service:</b></td>
                        <td class="style9">
                        </td>
                    </tr>
                    <tr>
                        <td class="style22" align="center" valign="top">
                            <asp:Button ID="service_button" runat="server" Text="Service" Width="140px" 
                                onclick="service_button_Click" />
                        </td>
                        <td class="style13">
                        </td>
                    </tr>
                    <tr>
                        <td class="style17">
                            <b>Request Repair:</b></td>
                        <td class="style18">
                            Repair Description</td>
                    </tr>
                    <tr>
                        <td class="style15" align="center" valign="top">
                            <asp:Button ID="repair_button" runat="server" Text="Repair" Width="140px" 
                                onclick="repair_button_Click" />
                        </td>
                        <td class="style16" valign="top">
                            <asp:TextBox ID="repairdesc_textbox" runat="server" Width="680px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style23">
                            <b>Add Crash Detail:</b></td>
                        <td class="style24">
                            Crash Description</td>
                    </tr>
                    <tr>
                        <td class="style25" align="center" valign="top">
                            <asp:Button ID="crash_button" runat="server" Text="Add" 
                                onclick="crash_button_Click" />
                        </td>
                        <td class="style26" valign="top">
                            <asp:TextBox ID="crash_textbox" runat="server" Width="680px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table style="width: 91%;">
        <tr>
            <td class="style10">
                <b>Recent Repair Request:</b></td>
            <td>
                <asp:Label ID="recentrepair_label" runat="server" Width="600px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style10">
                <b>Repair Fix Detail:</b></td>
            <td>
                <asp:TextBox ID="repair_fix_details_textbox" runat="server" Width="745px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style10">
                <asp:Button ID="repairfix_button" runat="server" Text="Submit Fix" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
    </body>
</html>
